package org.dromara.run.domain.bo;

import org.dromara.run.domain.ScoreConfig;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 阳光跑成绩配置业务对象 phy_run_score_config
 *
 * @author chl
 * @date 2024-08-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ScoreConfig.class, reverseConvertGenerate = false)
public class ScoreConfigBo extends BaseEntity {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空", groups = { EditGroup.class })
    private Long scoreConfigId;

    /**
     * 租户编号
     */
    private String tenantId;

    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String scoreConfigName;

    /**
     * 学期时段开始
     */
    @NotNull(message = "学期时段开始不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date semesterPeriodBegin;

    /**
     * 学期时段结束
     */
    @NotNull(message = "学期时段结束不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date semesterPeriodEnd;

    /**
     * 及格次数
     */
    @NotNull(message = "及格次数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long passTimes;

    /**
     * 满分次数


     */
    @NotNull(message = "满分次数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long fullTimes;

    /**
     * 1次
     */
//    @NotNull(message = "1次不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long levelOne;

    /**
     * 2次
     */
//    @NotNull(message = "2次不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long levelTwo;

    /**
     * 3次
     */
//    @NotNull(message = "3次不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long levelThree;

    /**
     * 4次
     */
//    @NotNull(message = "4次不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long levelFour;

    /**
     * 5次
     */
//    @NotNull(message = "5次不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long levelFive;

    /**
     * 6次
     */
//    @NotNull(message = "6次不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long levelSix;

    /**
     * 7次
     */
//    @NotNull(message = "7次不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long levelSeven;

    /**
     * 8次
     */
//    @NotNull(message = "8次不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long levelEight;

    /**
     * 9次
     */
//    @NotNull(message = "9次不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long levelNight;

    /**
     * 10次
     */
//    @NotNull(message = "10次不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long levelTenPlus;


}
